package com.yvdedu.hospital.entity;

public class Presc {
	private int id;
	private int p_id;
	private int d_id;
	private String d_name;
	private int number;
	private String dosage;
	private String usagee;
	public int getD_id() {
		return d_id;
	}
	public void setD_id(int d_id) {
		this.d_id = d_id;
	}
	public String getD_name() {
		return d_name;
	}
	public void setD_name(String d_name) {
		this.d_name = d_name;
	}
	@Override
	public String toString() {
		return "Presc [id=" + id + ", p_id=" + p_id + ", d_id=" + d_id + ", d_name=" + d_name + ", number=" + number
				+ ", dosage=" + dosage + ", usagee=" + usagee + "]";
	}
	public Presc() {
		super();
	}
	public Presc(int p_id, int d_id, String d_name, int number, String dosage, String usagee) {
		super();
		this.p_id = p_id;
		this.d_id = d_id;
		this.d_name = d_name;
		this.number = number;
		this.dosage = dosage;
		this.usagee = usagee;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getP_id() {
		return p_id;
	}
	public void setP_id(int p_id) {
		this.p_id = p_id;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getDosage() {
		return dosage;
	}
	public void setDosage(String dosage) {
		this.dosage = dosage;
	}
	public String getUsagee() {
		return usagee;
	}
	public void setUsagee(String usagee) {
		this.usagee = usagee;
	}

}
